<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="Client, App_Web_irvafolg" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .style4
        {
            font-family: Verdana;
            font-size: 8pt;
        }
        .style6
        {
            width: 915px;
            color: #FFFFFF;
        }
        .style10
        {
            height: 26px;
            width: 282px;
            font-family: Verdana;
            font-size: 8pt;
        }
        .style13
        {
            height: 26px;
        }
        .style14
        {
            height: 27px;
            width: 906px;
            font-size: 8pt;
            color: #FFFFFF;
        }
        .style16
        {
            width: 286px;
        }
        .style17
        {
        }
        .style18
        {
            font-family: Verdana;
        }
        .style19
        {
            font-family: Verdana;
            font-size: 9pt;
        }
        .style20
        {
            width: 294px;
        }
        .style21
        {
            width: 282px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <script type="text/javascript">

        function validate() {
            var txttext = document.getElementById("<%= txtdept.ClientID %>").value;
            if (txttext == "") {
                alert("Please Enter Client Name");
                document.getElementById("<%= txtdept.ClientID %>").focus();
                return false;
            }
            return true;
        }
   
</script>
    <table bgcolor="#F56450" width="100%"><tr>
        <th style="font-family: Verdana; font-size: large; " 
            class="style6">
             Add/Edit Client   
        </th>
        </tr>
        </table>
        <table width="100%">
        <tr><td class="style14" 
                
                
                    
                style="font-family: Verdana; font-weight: bold; background-color: #FF8448; "  
                colspan="4" >
            Client Details</td></tr>
        </table>

        <table>
       
        <tr><td class="style20">
            &nbsp;</td>
            <td class="style16">
                &nbsp;</td>
            <td>      
                &nbsp;</td>
            </tr>
            </table>
        <table>
        <tr >
        <td class="style10"><span class="style18">Client Name</td>
        <td class="style17">Client Address</span></td>
        <td class="style13">&nbsp;</td>
        </tr>
        <tr><td class="style21">
            <asp:TextBox ID="txtdept" runat="server" CssClass="style4" MaxLength="100" 
                TabIndex="1" TextMode="MultiLine" Width="293.33px" BackColor="#FFFFCC"></asp:TextBox>
            </td>
            <td class="style16">
                <asp:TextBox ID="txtdeptdesc" runat="server" CssClass="style4" MaxLength="150" 
                    TabIndex="2" TextMode="MultiLine" Width="293.33px"></asp:TextBox>
            </td>
            <td>      
                &nbsp;</td>
            </tr>
            </table>
       <br />
        <center  style="font-family: Verdana; font-weight: bold; background-color: #FF8448; color: #000000; height: 30px;">
            <asp:Button ID="cmdsave" runat="server" onclientclick="return validate()"
        OnClick="cmdsave_Click" Text="Save" 
        Height="27px" Width="87px" CssClass="style19" Font-Bold="True" ForeColor="White" />
        <asp:Button ID="cmdcancel" runat="server" 
        OnClick="cmdcancel_Click" 
        Text="Cancel" onload="Page_Load" Height="27px" Width="82px" CssClass="style19" 
                Font-Bold="True" ForeColor="White" />
    </center>
        <link rel="stylesheet" type="text/css" href="css/colors/orange.css" id="colors">
    <link rel="stylesheet" type="text/css" href="css/animate.css">
    <link href="Gridstyle.css" rel="stylesheet" type="text/css" />
        <link href="css/Table.css" rel="stylesheet" type="text/css" />
</asp:Content>

